// src/axios.js
import axios from 'axios';

const instance = axios.create({
  baseURL: 'http://10.25.40.37:7000',
  timeout: 10000
});

// instance.interceptors.request.use(
//     config => {
//         const token = localStorage.getItem('token');
//         if (token) {
//             config.headers['Authorization'] = `Bearer ${token}`;
//         }
//         return config;
//     },
//     error => Promise.reject(error)
// );

export default instance;
